﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Clinica/Clinica.Master" AutoEventWireup="true" CodeBehind="Cadastro.aspx.cs" Inherits="topicos2_oztech_drturin.Clinica.Cadastro" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="width: 800px; height: 300px; position:absolute; margin-left: -400px; margin-top:-150px; left: 50%; top:50%;">
        <asp:Panel ID="Panel3" runat="server">
            <div style="display:inline-block;">
                <div style="float: left;">
                    <table>
                        <tr>
                            <td>
                                <asp:Label ID="Label5" runat="server" Text="Nome: "></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txbNome" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" 
                                    ControlToValidate="txbNome"  ValidationGroup="Panel3"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label11" runat="server" Text="Senha: "></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txbSenha" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ErrorMessage="*" 
                                    ControlToValidate="txbSenha"  ValidationGroup="Panel3"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label12" runat="server" Text="Rua: "></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txbRua" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ErrorMessage="*" 
                                    ControlToValidate="txbRua"  ValidationGroup="Panel3"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label13" runat="server" Text="Bairro: "></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txbBairro" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ErrorMessage="*" 
                                    ControlToValidate="txbBairro"  ValidationGroup="Panel3"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label14" runat="server" Text="Estado: "></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txbEstado" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ErrorMessage="*" 
                                    ControlToValidate="txbEstado"  ValidationGroup="Panel3"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                    </table>
                </div>
                    
                <div style="float: left; margin-left:50px">         
                    <table>
                        <tr>
                            <td>
                                <asp:Label ID="Label1" runat="server" Text="CPF: "></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txbCPF" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" 
                                    ControlToValidate="txbCPF"  ValidationGroup="Panel3"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label2" runat="server" Text="Confirmação: "></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txbConfirmacao" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="*" 
                                    ControlToValidate="txbConfirmacao"  ValidationGroup="Panel3"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label3" runat="server" Text="Número: "></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txbNumero" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="*" 
                                    ControlToValidate="txbNumero"  ValidationGroup="Panel3"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label6" runat="server" Text="Cidade: "></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txbCidade" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="*" 
                                    ControlToValidate="txbCidade"  ValidationGroup="Panel3"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label15" runat="server" Text="CEP: "></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txbCEP" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ErrorMessage="*" 
                                    ControlToValidate="txbCEP"  ValidationGroup="Panel3"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div style="display:block;">
                <asp:Button ID="Button1" runat="server" Text="Cadastrar" ValidationGroup="Panel3" OnClick="Buttton1_Click"/>
            </div>
        </asp:Panel>
    </div>   
</asp:Content>
